package com.nchu.ft.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@TableName(value = "female_member")
public class FemaleMember {
    /**
     * 人员ID
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 姓名前缀（如：讳、孺人）
     */
    @TableField(value = "name_prefix")
    private String namePrefix;

    /**
     * 姓名
     */
    @TableField(value = "full_name")
    private String fullName;

    /**
     * 姓名后缀（如：氏）
     */
    @TableField(value = "name_suffix")
    private String nameSuffix;

    /**
     * 配偶关系类型
     */
    @TableField(value = "spouse_type")
    private Object spouseType;

    /**
     * 生辰
     */
    @TableField(value = "birth_date")
    private LocalDate birthDate;

    /**
     * 卒殁葬信息
     */
    @TableField(value = "death_info")
    private String deathInfo;

    /**
     * 学历
     */
    @TableField(value = "education")
    private String education;

    /**
     * 生育子女情况
     */
    @TableField(value = "children_info")
    private String childrenInfo;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    public static final String COL_ID = "id";

    public static final String COL_NAME_PREFIX = "name_prefix";

    public static final String COL_FULL_NAME = "full_name";

    public static final String COL_NAME_SUFFIX = "name_suffix";

    public static final String COL_SPOUSE_TYPE = "spouse_type";

    public static final String COL_BIRTH_DATE = "birth_date";

    public static final String COL_DEATH_INFO = "death_info";

    public static final String COL_EDUCATION = "education";

    public static final String COL_CHILDREN_INFO = "children_info";

    public static final String COL_CREATE_TIME = "create_time";
}